package Helper

import (
	"crypto/md5"
	"encoding/hex"
)

/**
MD5加密字符串
*/
func Md5Str(str string) string {
	sha1str := md5.New()
	sha1str.Write([]byte(str))
	result := hex.EncodeToString(sha1str.Sum(nil))
	return result
}
